package com.jun.basic.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Component
@PropertySource(value = "classpath:pay.properties")
@Data
public class WxConfig {
    @Value("${wxpay.appid}")
    private String payId;

    @Value("${wxpay.secret}")
    private String paySecret;

    @Value("${wx.mechid}")
    private String payMechId;

}
